﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using Sahit.iSoilHotel.Domain.MainBoundedContext.Tavern.Aggregates.PriceAgg;

namespace Sahit.iSoilHotel.Infrastructure.DataAccess.MainBoundedContext.Tavern.Mapping.Prices
{
    public class PriceCodeMap:EntityTypeConfiguration<PriceCode>
    {
        public PriceCodeMap()
        {
            this.ToTable("PriceCode");

            this.HasKey(p => p.ID);
            this.Property(p => p.Code);
        }
    }
}
